package com.uni.exp4.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * --------------MyBatisFastUse-------------
 *
 * @Author Unirithe  - Mr.Chao
 * - CSDN:
 * https://blog.csdn.net/Unirithe
 * - GitHub:
 * https://github.com/unirithe
 * @create 2022/1/18 9:25
 * ------------------------------------------
 */
/* 实验4 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Person {
    private String name;
    private String words;
    public String say(){
        return String.format("%s说: \"%s\"", name, words);
    }
}